<template>
    <van-tabbar v-model="active" route placeholder>
        <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
        <van-tabbar-item icon="label-o" to="/topic">专题</van-tabbar-item>
        <van-tabbar-item icon="apps-o" to="/category">分类</van-tabbar-item>
        <van-tabbar-item icon="shopping-cart-o" to="/car">购物车</van-tabbar-item>
        <van-tabbar-item icon="manager-o" to="/mine">我的</van-tabbar-item>
    </van-tabbar>
</template>

<script setup lang='ts'>
import { ref } from 'vue';
const active = ref<number>(0);




</script>
<style scoped lang="scss"></style>